<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>pruba</title>
	<link type="text/css" rel="stylesheet" href="/uploadify-v2.1.4/uploadify/uploadify.css" />
	
	<link type="text/css" rel="stylesheet" href="/jquery.alerts/jquery.alerts.css" media="screen" />
	
	<script type="text/javascript" src="/uploadify-v2.1.4/uploadify/jquery-1.4.2.min.js"></script>
	
	<script type="text/javascript" src="/uploadify-v2.1.4/uploadify/swfobject.js"></script>
	
	<script type="text/javascript" src="/uploadify-v2.1.4/uploadify/jquery.uploadify.v2.1.4.js"></script>
	
	<script type="text/javascript" src="/jquery.alerts/jquery.alerts.js"></script>
	<script type="text/javascript">
		$(document).ready(function() {
  			$('#file_upload').uploadify({
    			'uploader'		: '/uploadify-v2.1.4/uploadify/uploadify.swf',
				'script'		: '/uploadify-v2.1.4/uploadify/uploadify.php',
				'cancelImg'		: '/uploadify-v2.1.4/uploadify/cancel.png',
				'folder'		: '/uploadify-v2.1.4/uploads',
				'auto'			: true,
				'multi'			: false,
				'fileDesc'		: 'Libro de Excel 97-2003',
				'fileExt'		: '*.xls',
				'buttonText'	: 'Examinar',
				'displayData'	: 'percentage',
				onComplete: function(event, queueID, fileObj, response, data){
					//alert(event+" \n\n "+queueID+" \n\n "+fileObj+" \n\n "+response+" \n\n "+data);
					$("#msj").html(response);
					jAlert("holas","ventana");
				}
  			});
		});
	</script>
</head>
<body>
	<input id="file_upload" name="file_upload" type="file" />
	<div id="msj"></div>
</body>
</html>